projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755d8f8
)
Keep picking up icons as resources
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 27 Jul 2018 11:16:44 +0000
(07:16 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 27 Jul 2018 12:05:55 +0000
(08:05 -0400)
We may need to revisit this at some point. For now,
keep the mechanism in place.
This is a partial revert of
806c659efe3a8f2ebc4a5201f7152636edf3bb49
.
gtk/gen-gtk-gresources-xml.py
patch
|
blob
|
history
diff --git
a/gtk/gen-gtk-gresources-xml.py
b/gtk/gen-gtk-gresources-xml.py
index 10478e4c768b53455097d7826afc49d93837658a..99a687f40cefdef8196a10586b6ada9122681460 100644
(file)
--- a/
gtk/gen-gtk-gresources-xml.py
+++ b/
gtk/gen-gtk-gresources-xml.py
@@
-61,6
+61,13
@@
for f in get_files('ui', '.ui'):
xml += '\n'
+for s in ['16x16', '24x24', '32x32', '48x48']:
+ for c in ['actions', 'status']:
+ icons_dir = 'icons/{0}/{1}'.format(s,c)
+ if os.path.exists(os.path.join(srcdir,icons_dir)):
+ for f in get_files(icons_dir, '.png'):
+ xml += ' <file>icons/{0}/{1}/{2}</file>\n'.format(s,c,f)
+
for f in get_files('inspector', '.ui'):
xml += ' <file preprocess=\'xml-stripblanks\'>inspector/{0}</file>\n'.format(f)